package com.qidian.study.dao;

import com.qidian.study.pojo.Content;
import com.qidian.study.pojo.ContentCat;

import java.util.List;

/**
 * @author 戴着假发的程序员
 * @company 起点编程
 */
public interface ContentDAO {
    public int save(Content content);
    public int update(Content content);
    public Content queryById(Long contentId);
    public List<Content> queryAll();
    public List<Content> queryByPage(int page,int size,Content content);
    public int count(Content content);

    public List<Content> queryByCatId(Long catId);

}
